package com.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.entity.Admin;

public interface AdminDao {

	public Admin findAdminname(@Param("admin_name")String admin_name);

	public Admin findAdmin(@Param("admin_name")String admin_name,
					@Param("password")String password);

	public List<Admin> selectAdminList(Admin admin);

	public Integer selectAdminListCount(Admin admin);

	public int createAdmin(Admin admin);

	public int deleteAdmin(Integer id);

	public Admin getAdminById(Integer id);

	public int updateAdmin(Admin admin);

}
